<#import "inc/page_comm.ftl" as comm />
<@comm.topHead/>
<DIV id=container1>
<DIV id=container1_left>
<TABLE cellSpacing=0 cellPadding=0 width=240 align=center border=0>
	<TBODY>
		<TR>
			<TD>
			<DIV align=center><A href="/pf/" target=_blank><IMG
				height=100 src="feng/xjd.jpg" alt=信息交互平台 width=240 border=0></A></DIV>
			</TD>
		</TR>
		<TR>
			<TD height=10></TD>
		</TR>
	</TBODY>
</TABLE>
<DIV class=title>
<DIV class=more><A href="##" target=_blank>更多...</A></DIV>
</DIV>
<DIV class=box1>
<DIV class=box1_left>
<DIV class=box1_right>
<DIV class=box1_bottom>
<DIV class=box1_bottom_left>
<DIV class=box1_bottom_right>

	<#if (fartherTypeList?exists && fartherTypeList?size > 0)>
	<#list fartherTypeList as list>
	<H3><A href="indexInfo2.action?fartherType.id=${list.id}" target=_blank>${list.name}</A></H3>
	<H4>
	
		<#assign cart = list.parentType>
		<#list cart as pt>   
		<a href="indexInfo.action?parentType.id=${pt.id}">${pt.name}</a>
		</#list>
	</H4>
	<!--
	<H4>
	<TABLE cellSpacing=0 cellPadding=0 width=219 align=center border=0>
		<TBODY>
			<TR>
				<TD colSpan=3 height=5></TD>
			</TR>
			<TR>
				<img src="feng/7.gif" />
				<img src="feng/7.gif" />
			</TR>
		</TBODY>
	</TABLE>
	</H4>
	-->
	</#list>
	</#if>

</DIV>
</DIV>
</DIV>
</DIV>
</DIV>
</DIV>
</DIV>

<DIV id=container1_right>
<DIV id=index_tab_1>
<@comm.webImg/>
<DIV class=index_tab_top>
</DIV>
</DIV>


<DIV id=photo_button>

<#if userid==-1>
<form id="form1" name="form1" method="post" action="login.action?state=0">
<TABLE style="BORDER-TOP: 1px dotted; 
				borderColor=#99CCFF cellSpacing=0 cellPadding=2 width="100%"
				border=0>
	<TBODY>
		<TR>
			<TD align=center>
			用户名：
			</TD>
			<TD>
				<input name="username" type="text" style="width:110px;height:15px">
			</TD>
		</TR>
		<TR>
			<TD align=center>
			密     码：
			</TD>
			<TD>
				<input name="password" type="password" style="width:110px;height:15px">
			</TD>
		</TR>
		<TR>
			<TD align=center>
			验证码：
			</TD>
			<TD>
<input size="10"  style="width:110px;" class="colorblue" onfocus="this.className='colorfocus';" onblur="this.className='colorblue';" onkeyup="changevcode(this.form, this.value);" />
<script type="text/javascript">
	$('vcodeimg').src='tools/verifyImagePage.action?bgcolor=F5FAFE&time=' + Math.random();
	//document.getElementById('vcode').value = "";
	function changevcode(form, value)
	{
		if (!$('vcode'))
		{
			var vcode = document.createElement('input');
			vcode.id = 'vcode';
			vcode.name = 'vcode';
			vcode.type = 'hidden';
			vcode.value = value;
			form.appendChild(vcode);
		}
		else
		{
			$('vcode').value = value;
		}
	}
</script>
			</TD>
		</TR>
		
		<TR>
			<TD align=center>
				<input name="reloadvcade" type="button" class="colorblue" id="reloadvcade" value="刷新验证码"  onclick="document.getElementById('vcodeimg').src='tools/verifyImagePage.action?time=' + Math.random();" tabindex="-1"  style="color:#99cc00; width:75px;" />
			</TD>
			<TD>
				<img src="tools/verifyImagePage.action?time=${reqcfg.pageTime}" class="cursor" id="vcodeimg" onclick="this.src='tools/verifyImagePage.action?id=${olid}&time=' + Math.random();" />
			</TD>
		</TR>
		
		<TR>
			<TD align=left>
			<DIV align=center><A href="register.action?state=0"><IMG
				alt=会员注册 height=33 src="feng/51.gif" width=123 border=0></A></DIV>
			</TD>
			<TD>
			<DIV align=center><A href="#" onclick="submit()"><IMG
				alt=会员登录 height=33 src="feng/a54.gif" width=123 border=0></A></DIV>
			</TD>
		</TR>
		<TR>
			<TD align=left>
			<DIV align=center><A href="addInfo.action"><IMG
				alt=会员服务 height=33 src="feng/52.gif" width=123 border=0></A></DIV>
			</TD>
			<TD>
			<DIV align=center><A href="addInfo.action"><IMG
				alt=块速发布 height=33 src="feng/a1.gif" width=123 border=0></A></DIV>
			</TD>
		</TR>
	</TBODY>
</TABLE>
</form>
<#else>

<form id="form1" name="form1" method="post" action="login.action?state=0">
<TABLE style="BORDER-TOP: 1px dotted; 
				borderColor=#99CCFF cellSpacing=0 cellPadding=2 width="100%"
				border=0>
	<TBODY>
		<TR>
			<TD align=center>
			<LI><cite>您好:${username}</cite></LI>
			</TD>
			<TD>
			</TD>
		</TR>
		<TR>
			<TD align=left>
			<DIV align=center><A href="addInfo.action"><IMG
				alt=会员服务 height=33 src="feng/52.gif" width=123 border=0></A></DIV>
			</TD>
			<TD>
			<DIV align=center><A href="addInfo.action"><IMG
				alt=发布信息 height=33 src="feng/a1.gif" width=123 border=0></A></DIV>
			</TD>
		</TR>
	</TBODY>
</TABLE>
</form>

</#if>	
</DIV>
<#assign state=0/>
<DIV style="clear:both"></DIV>
<#if (MapList?exists && MapList?size > 0)>
<#list MapList as list>
<#assign state=state+1/>
<#assign fa = list['farther']>
<#assign p1 = list['parentType1']>
<#assign p2 = list['parentType2']>
<#assign list1 = list['list1']>
<#assign list2 = list['list2']>
<!----------------------------------------------第一块 AC 09------------------------------------->

<#if (state%2==0)>
<DIV class=job>
<#else/>
<DIV class=new>
</#if>
	<DIV id=cntR>
		<DIV id=NewsTop>
			<DIV id=NewsTop_tit${state}>
				<P class=topTit>${fa.name?default("")}</P>
				<#if (p1?exists )>
				<P class=topC0><A href="indexInfo.action?parentType.id=${p1.id?default("")}">${p1.name?default("")}</A></P>
				</#if>
				<#if (p2?exists )>
				<P class=topC0><A href="indexInfo.action?parentType.id=${p2.id?default("")}">${p2.name?default("")}</A></P>
				</#if>
			</DIV>
			<DIV class=title2_box>
				<DIV class=title2_box_bottom>
				<DIV class=title2_box_left>
				<DIV class=title2_box_right>
					<DIV class=title2_box_bottomleft>
						<DIV class=title2_box_bottomright style="HEIGHT: 248px">
							<DIV id=NewsTop_cnt${state}>
							<SPAN title="Don't delete me"></SPAN>
							<SPAN>
								<UL class=list1>
									<#if (list1?exists && list1?size > 0)>	
									<#list list1 as pa>
									<LI><a href="infoView.action?info.id=${pa.id}">[${pa.parentType.name}]${pa.title}</a><br /></LI>
									</#list>
									</#if>
								</UL>
							</SPAN>
							<SPAN>
							<UL class=list1>
									<#if (list2?exists && list2?size > 0)>	
									<#list list2 as pb>
									<LI><a href="infoView.action?info.id=${pb.id}">[${pb.parentType.name}]${pb.title}</a><br /></LI>
									</#list>
									</#if>
							</UL>
							</SPAN>
							</DIV>
						</DIV>
					</DIV>
				</DIV>
				</DIV>
				</DIV>
			</DIV>
		</DIV>
	</DIV>
</DIV>
</#list>
</#if>

<SCRIPT> 
	var TagView=function(title,cnt,index){ 
	var s=this; 
	this.flag=index||1; 
	var Tags=document.getElementById(title).getElementsByTagName('p'); 
	var TagsCnt=document.getElementById(cnt).getElementsByTagName('span'); 
	var len=Tags.length; 
	for(i=1;i<len;i++){ 
	Tags[i].value = i; 
	Tags[i].onmouseover=function(){changeNav(this.value)}; 
	TagsCnt[i].className='undis'; 
	} 
	Tags[this.flag].className='topC1'; 
	TagsCnt[this.flag].className='dis'; 
	function changeNav(v){ 
	Tags[s.flag].className='topC0'; 
	TagsCnt[s.flag].className='undis'; 
	s.flag=v; 
	Tags[v].className='topC1'; 
	TagsCnt[v].className='dis'; 
	} 
	} 
	<#assign flag=0/>
	<#if (MapList?exists && MapList?size > 0)>
	<#list MapList as list>
	<#assign flag=flag+1/>
	new TagView('NewsTop_tit${flag}','NewsTop_cnt${flag}',1);//第一个 
	</#list>
	</#if>
	</SCRIPT></DIV>
</DIV>
</DIV>

</DIV>
</DIV>

<TABLE cellSpacing=0 cellPadding=0 width=970 align=center border=0>
	<TBODY>
		<TR>
			<!--横幅一970*60广告开始-->
			<!--
  中场广告位
  {dede:myad name='970-60AD'/}
  -->
			<!--横幅一970*60广告结束-->
		</TR>
	</TBODY>
</TABLE>
<DIV style="clear:both"></DIV>
<@comm.webFoot/>
</BODY>
</HTML>
